﻿using System;
using System.Web;
using ThoiTrang.Business;
using ThoiTrang.Entities;

public partial class logout : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        a_Session ss = a_SessionService.Geta_Session(SessionManager.GetCookie());
        ss.Login_Status = false;
        ss.Time_stamp = DateTime.Now;
        a_SessionService.Updatea_Session(ss);
        Response.Redirect("index.aspx?ckid=" + SessionManager.GetCookie(), true);
    }
}
